home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / trubasic / rolldemos / demos / ip / README < prev    next >
Encoding:
Text File  |  1994-08-02  |  1.3 KB  |  36 lines

  1. Image Processing Tools for True BASIC
  2. -------------------------------------
  3.  
  4. An Image Processing Toolkit for True BASIC and a book "Programming Visual
  5. Images" will be available in 1992 featuring the Personal Iris and the Amiga.
  6.  
  7. These demos are from Hubert Hohn's library of True BASIC tools and are a
  8. sample of the type of routines that will be covered in the toolkit and book.
  9.  
  10. For more information, contact True BASIC or refer to the man pages for
  11. READPIXEL, READCPIXEL, BOX KEEP, BOX SHOW, SET MODE "CMAP" and SET MODE "RGB".  
  12.  
  13. These demos are driven with left mouse clicks.
  14.  
  15. The sample RGB image file "eye.rgb" was provided by Silicon Graphics.
  16.  
  17. -------------------------------------------------------------------------------
  18.  
  19. Release notes:
  20.  
  21. Two routines used in these demos may not be documented elsewhere.  They are:
  22.  
  23.     sub readimage(fname$,xorg,yorg,xmax,ymax,cmax)
  24.         read in an RGB image from file fname$ and display it at
  25.         position xorg,yorg in the current window.
  26.         return xmax, ymax, and cmax for image.    
  27.  
  28.     sub writeimage(fname$,x1,x2,y1,y2)
  29.         write the image defined by the box coordinates x1,x2,y1,y2
  30.         to the file fname$ in RGB format.
  31.  
  32. These routines put the window into RGB mode and reference the user's window
  33. coordinate system.
  34.  
  35. NOTE: these routines have not yet been tested on the Indigo.
  36.